package com.hqyj.springBoot.modules.account.service;

import com.github.pagehelper.PageInfo;
import com.hqyj.springBoot.modules.common.vo.Result;
import com.hqyj.springBoot.modules.common.vo.Search;
import com.hqyj.springBoot.modules.account.entity.Resource;

public interface ResourceService {

    Result<Resource> insertResource(Resource resource);

    Result<Resource> updateResource(Resource resource);

    Result<Object> deleteResourceById(int resourceId);

    Resource selectResourceById(int resourceId);

    PageInfo<Resource> getResourcesBySearch(Search search);

}
